package com.example.ibsp_demo.pojo.entity.user;

import java.util.*;

public class UserProfile {

    private Integer profileId;       // 资料记录唯一标识
    private Integer uid;             // 关联用户ID
    private String avatar;           // 头像图片URL
    private String interestTags;     // 兴趣标签
    private String bio;        // 个性签名
    private String privacySetting;   // 隐私设置

    private String email;
    private String phone;
    private String username;

    @Override
    public String toString() {
        return "UserProfile{" +
                "profileId=" + profileId +
                ", uid=" + uid +
                ", avatar='" + avatar + '\'' +
                ", interestTags='" + interestTags + '\'' +
                ", bio='" + bio + '\'' +
                ", privacySetting='" + privacySetting + '\'' +
                ", email='" + email + '\'' +
                ", phone='" + phone + '\'' +
                ", username='" + username + '\'' +
                '}';
    }

    public Integer getProfileId() {
        return profileId;
    }

    public void setProfileId(Integer profileId) {
        this.profileId = profileId;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getInterestTags() {
        return interestTags;
    }

    public void setInterestTags(String interestTags) {
        this.interestTags = interestTags;
    }

    public String getBio() {
        return bio;
    }

    public void setBio(String bio) {
        this.bio = bio;
    }

    public String getPrivacySetting() {
        return privacySetting;
    }

    public void setPrivacySetting(String privacySetting) {
        this.privacySetting = privacySetting;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public UserProfile() {
    }

    public UserProfile(Integer profileId, Integer uid, String avatar, String interestTags, String bio, String privacySetting, String email, String phone, String username) {
        this.profileId = profileId;
        this.uid = uid;
        this.avatar = avatar;
        this.interestTags = interestTags;
        this.bio = bio;
        this.privacySetting = privacySetting;
        this.email = email;
        this.phone = phone;
        this.username = username;
    }
}
